wean (someone) off (something)

Translations
отучать (кого-то) от (чего-то)
The doctor helped wean him off the medication.
Доктор помог отучить его от лекарства.
Definitions
To gradually reduce someone's dependence on a substance or habit, helping them to stop using it or relying on it.